package com.midou.administration.mapper;

import com.midou.administration.entity.Menu;
import com.midou.administration.entity.SetMeal;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author MrChen
 * @since 2021-03-24
 */
public interface SetMealMapper extends BaseMapper<SetMeal> {
    Integer add(@Param("menuName") String menuName,
                @Param("menuId")Integer menuId,
                @Param("menus")List<Menu> menus);
    Integer delSetMeal(Integer mid);
    Integer queryCount(Integer mid);
}
